@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  color: #333;
}


html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.align-right {
  margin: 0 20px 20px 0;
  text-align: right;
}

.table-wrap {
  padding: 20px 20px 35px 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
}

.el-table {
  font-size: 13px;
  td {
    height: 40px;
    line-height: 40px;
    padding: 0;
  }
  th{
    height: 50px;
    line-height: 50px;
    padding: 0;
  }

}

.el-table__header tr,
.el-table__header th {
  background: $--color-primary-light-9 !important;
}

.el-table .el-button {
  padding: 8px 0px;
  font-size: 13px;
}

.align-center {
  text-align: center;
}

.import-err-body {
  line-height: 24px;
}

.el_table_fixed_height {
  .el-table__fixed {
    height: 112px !important;
  }
}

.el-form-item.is-success .el-input__inner,
.el-form-item.is-success .el-input__inner:focus,
.el-form-item.is-success .el-textarea__inner,
.el-form-item.is-success .el-textarea__inner:focus {
  border-color: #DCDFE6;
}

.el-dialog__header {
  height: 50px;
  line-height: 50px;
  padding: 0;
  padding-left: 20px;
  border-bottom: 1px solid #E6E6E6;
}

.el-dialog__title {
  font-size: 16px;
  line-height: 1;
}

.el-dialog__footer {
  text-align: center;
  padding-bottom: 30px;
}

.el-dialog__headerbtn {
  top: 16px;
}

// 列表页搜索框
.search-form {
  box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding-top: 58px;
  padding-left: 5px;
  margin-bottom: 10px;
  background: #fff;

  .el-select,
  .el-date-editor {
    width: 100%;
  }
}
.base-style{
  background: #fff;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

.fix-width-btn {
  width: 186px;
  padding-right: 20px;
  text-align: right;
}

.fix-width-col {
  width: calc(100% - 186px);
}

.el-table th.is-leaf {
  border-bottom: none;
}

.el-table--enable-row-hover .el-table__body tr:hover td{
  background: #eaf5f4;
}

.fix-width-col-single{
  width: calc(100% - 100px);
}
.fix-width-btn-single{
  width: 100px;
  padding-right: 22px;
  text-align: right;
}

.el-tabs__nav {
  margin-left: 20px;
}

.el-tabs__nav-wrap::after {
  height: 1px;
  background-color: #ececec;
}

.el-tabs__content {
  padding: 0 15px 15px;
}

.el-form-item__label{
  color: #666;
}
.details_content{
  color: #333333;
}
.page-detail{
  min-height: calc(100vh - 125px);
  background: #fff;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 15px;
}
.hal_style{
  .el-message-box__btns{
    text-align: center;
  }
}
.message_box_width{
  width: 510px;
}
.purchase_strategy{
  .table-wrap {
    .el-input__inner{
      height: 32px;
    }
    .el-input__icon{
      line-height: 32px;
    }
  }
}

// 项目信息的更多收起按钮
.expand-btn{
  float: right;
  text-align: right;
  .el-button{
    padding: 0;
  }
}
.common_tit{
  border-bottom: 1px solid #ececec;
  padding-bottom: 8px;
  margin-bottom: 20px;
  text-align: left;
}
.el-tooltip__popper{
  max-width: 900px;
  white-space: pre-wrap;
}

.week-journal-message-box{
  min-width: 700px;
  .el-textarea__inner{
    min-height: 90px!important;
  }
}
.el-tree>.el-tree-node{
  min-width:100%;
  display: inline-block;
}
.el-form-item{
  margin-bottom: 0;
}

.download-link{
  color: #2f9891;
}

.el-icon-close{
  cursor: pointer;
  color: #2f9891;
}
.attach-label:before{
  display: inline;
  content: '*';
  color: #ff4949;
  margin-right: 4px;
}

.year_page_title {
  padding-top: 15px;
  font-weight: 700;
  font-size: 24px;
}
.page_title{
  padding-top: 15px;
  font-weight: 700;
  font-size: 24px;
}
.text-ellipsis{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tit-name{
  font-size: 17px;
  color: #020202;
  font-weight: bold;
}
.common-font{
  color: rgba(70,70,70,0.35);
  font-size: 14px;
}
.tit-border{
  height: 36px;
  line-height: 36px;
  border-bottom: 2px solid rgba(70,70,70,0.87);
}
.classify-base-form{
  padding-top: 13px;
}
.el-select-dropdown{
  max-width: 300px;
}
